package com.zhengxyou.jetpackdemo.mvvm;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.zhengxyou.jetpackdemo.R;
//https://juejin.im/post/5a0712a35188255ea95b6d7c
public class MVVMActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mvvm);
    }
    public static void start(Context context) {
        Intent starter = new Intent(context, MVVMActivity.class);
        context.startActivity(starter);
    }
}
